package com.hrm.dao;

import java.util.List;

import com.hrm.domain.Notice;
import com.hrm.domain.NoticeExt;

/*
 * 公告数据处理层接口
 */
public interface NoticeDao {

	public List<NoticeExt> getNoticeExtsByTerm(int flag, Object... parametes);

	public Integer getCount(int flag, Object... parametes);

	public Integer addNotice(Notice notice);

	public Notice getNoticeByNN(String noticeName);

	public Notice getNoticeByID(int ID);

	public Integer delNotice(int ID);

	public Integer modifyNoticeByID(Notice newNotice, int ID);

}
